function getRandomNumber(min, max) {
	const minVal = Math.ceil(min);
	const maxVal = Math.floor(max);
	// The maximum is exclusive and the minimum is inclusive
	return Math.floor(Math.random() * (maxVal - minVal + 1)) + minVal;
}

export default getRandomNumber